projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3687a9
)
GailEntry: remove idle if cell editing is canceled
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 18 Feb 2011 00:06:19 +0000
(19:06 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Fri, 18 Feb 2011 00:17:36 +0000
(19:17 -0500)
This avoids warnings when cell editing is interrupted e.g. by
adding or removing a row.
modules/other/gail/gailentry.c
patch
|
blob
|
history
diff --git
a/modules/other/gail/gailentry.c
b/modules/other/gail/gailentry.c
index 5f239c82ff2e56275ef90a1d3b3b4f7f58f5326c..c4590dc0432fcdb7f5ee7857f34698bafb6ee4c5 100644
(file)
--- a/
modules/other/gail/gailentry.c
+++ b/
modules/other/gail/gailentry.c
@@
-298,11
+298,7
@@
gail_entry_real_notify_gtk (GObject *obj,
}
else if (strcmp (pspec->name, "editing-canceled") == 0)
{
- gboolean canceled;
-
- g_object_get (obj, "editing-canceled", &canceled, NULL);
-
- if (entry->insert_idle_handler && canceled)
+ if (entry->insert_idle_handler)
{
g_source_remove (entry->insert_idle_handler);
entry->insert_idle_handler = 0;